package org.test.web.entity;

/**
 * 功能描述
 *
 * @author: weiken
 * @date: 2023年10月25日 9:58
 */
//package com.cloudring.commonlib.http.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class UserLoginResponse {
    @JsonProperty("code")
    public String code;
    @JsonProperty("data")
    public UserLoginResponseData data;
    @JsonProperty("message")
    public String message;

    @JsonIgnoreProperties(ignoreUnknown = true)
    @Data
    public static class UserLoginResponseData {
        @JsonProperty("headPic")
        public String headPic;
        @JsonProperty("ifPwd")
        public String ifPwd;
        @JsonProperty("mobile")
        public String mobile;
        @JsonProperty("nickName")
        public String nickName;
        @JsonProperty("token")
        public String token;
        @JsonProperty("userId")
        public String userId;
        @JsonProperty("userName")
        public String userName;
    }
}
